﻿using B.S.EventHandle.ErrorCode;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{
    /// <summary>
    /// 设备表
    /// </summary>
    public class Equipment
    {
        /// <summary>
        /// 设备表-主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int EquipmentID { get; set; }
        /// <summary>
        /// 设备表编号
        /// </summary>
        /// 
        [MaxLength(50)]
        public string Code { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        /// 
        [MaxLength(50)]
        public string EquipmentName { get; set; }
        /// <summary>
        /// 授权标识符
        /// </summary>
        /// 
        [MaxLength(50)]
        public string DepartmentId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public EquipmentStatus Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
       
    }
}
